package T06;

public class task3 {

	public static boolean fun(int i) {
		if ((i * i - i) % 10 == 0) {
			return true;
		} else {
			return false;
		}
	}

	public static void main(String[] args) {
		for (int i = 2; i <= 99; i++) {
			if (fun(i)) {
				System.out.println(i);
			}
		}
	}

}
